#include<iostream>
using namespace std;

void f()
{
	cout << "f()" << endl;
}
void f(int)
{
	cout << "f(int)" << endl;
}
void f(int,int)
{
	cout << "f(int,int)" << endl;
}
void f(double, double)
{
	cout << "f(double,double)" << endl;
}

int main()
{
	//f(2.56,42);// 'f' is ambiguous
	f(42);
	f(42, 0);
	f(2.56, 3.14);

	system("pause");
	return 0;
}
